package com.yonyou.brigade.order_center.dao;

import com.yonyou.brigade.order_center.model.BriTrainPassenger;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yonyou.brigade.order_center.model.BriTrainPassengerDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-07-12
 */
public interface BriTrainPassengerMapper extends BaseMapper<BriTrainPassenger> {

    int getBriTrainPassengerDTOsCount(Map queryParams);

    List<BriTrainPassengerDTO> getBriTrainPassengerDTOs(Map queryParams);

    List<BriTrainPassenger> getBriTrainPassengerList(@Param("orderNo")String orderNo);
}
